// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsTopicListResponse.h"

namespace aliyun { namespace Ons {

OnsTopicListResponse::OnsTopicListResponse() {
}

int64 OnsTopicListResponse::PublishInfoDo::GetId(void) const {
  return Id_;
}

int OnsTopicListResponse::PublishInfoDo::GetChannelId(void) const {
  return ChannelId_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetChannelName(void) const {
  return ChannelName_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetRegionId(void) const {
  return RegionId_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetRegionName(void) const {
  return RegionName_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetTopic(void) const {
  return Topic_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetOwner(void) const {
  return Owner_;
}

int OnsTopicListResponse::PublishInfoDo::GetRelation(void) const {
  return Relation_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetRelationName(void) const {
  return RelationName_;
}

int OnsTopicListResponse::PublishInfoDo::GetStatus(void) const {
  return Status_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetStatusName(void) const {
  return StatusName_;
}

int OnsTopicListResponse::PublishInfoDo::GetAppkey(void) const {
  return Appkey_;
}

int64 OnsTopicListResponse::PublishInfoDo::GetCreateTime(void) const {
  return CreateTime_;
}

int64 OnsTopicListResponse::PublishInfoDo::GetUpdateTime(void) const {
  return UpdateTime_;
}

const string& OnsTopicListResponse::PublishInfoDo::GetRemark(void) const {
  return Remark_;
}

const std::vector<OnsTopicListResponse::PublishInfoDo>& OnsTopicListResponse::GetData(void) const {
  return Data_;
}

const string& OnsTopicListResponse::GetHelpUrl(void) const {
  return HelpUrl_;
}

const char* OnsTopicListResponse::BaseKey(void) {
  return "OnsTopicListResponse";
}

void OnsTopicListResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "OnsTopicListResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerInt64(Data_[i1].Id_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Id");
      UnmarshallerInt(Data_[i1].ChannelId_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].ChannelId");
      UnmarshallerString(Data_[i1].ChannelName_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].ChannelName");
      UnmarshallerString(Data_[i1].RegionId_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].RegionId");
      UnmarshallerString(Data_[i1].RegionName_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].RegionName");
      UnmarshallerString(Data_[i1].Topic_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Topic");
      UnmarshallerString(Data_[i1].Owner_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Owner");
      UnmarshallerInt(Data_[i1].Relation_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Relation");
      UnmarshallerString(Data_[i1].RelationName_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].RelationName");
      UnmarshallerInt(Data_[i1].Status_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(Data_[i1].StatusName_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].StatusName");
      UnmarshallerInt(Data_[i1].Appkey_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Appkey");
      UnmarshallerInt64(Data_[i1].CreateTime_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].CreateTime");
      UnmarshallerInt64(Data_[i1].UpdateTime_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].UpdateTime");
      UnmarshallerString(Data_[i1].Remark_, response_map, "OnsTopicListResponse.Data["+string_ValueOfInt(i1)+"].Remark");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

  UnmarshallerString(HelpUrl_, response_map, "OnsTopicListResponse.HelpUrl");
}


} } // namespace aliyun { namespace Ons {

// end of file 
